<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%-- <%@ page import="gop.dto.EventDto, gop.dao.EventDao, java.util.List, java.text.SimpleDateFormat" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<% request.setCharacterEncoding("utf-8"); %>

<%
	
	int num = Integer.parseInt(request.getParameter("event_num"));
	EventDao eventDao = new EventDao();
	EventDto event = eventDao.selectEventContent(num);
	List<EventDto> getEventContent = eventDao.getEventContent();
	request.setAttribute("getContent", getEventContent);
	String path = event.getPath() + event.getFile_name();
	
%> --%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>GOP Theater</title>

<link type="text/css" rel="stylesheet" href="/spring-GOP/css/event/style_30.css">
<link type="text/css" rel="stylesheet" href="/spring-GOP/css/faq/style_3000.css">
<link type="text/css" rel="stylesheet" href="/spring-GOP/css/faq/style_3010.css">
<link type="text/css" rel="stylesheet" href="/spring-GOP/css/common.css">
<link type="text/css" rel="stylesheet" href="/spring-GOP/css/style.css">
<style type="text/css">
	.event_wrap1 {
		position: relative;
		width: 720px;
		height: 1150px;
		margin: 0 auto;
		background-repeat:no-repeat;
	}
	
	.event_wrap1 .btn_pos {
		position: absolute;
		left: 271px;
		top: 787px;
	}
	
	.event_wrap1 .button {
		width: 178px;
		height: 56px;
		line-height: 56px;
		font-size: 18px;
	}
	
	.event_wrap1 .blind,legend {
		visibility: hidden;
		overflow: hidden;
		position: absolute;
		top: 0;
		left: 0;
		width: 0;
		height: 0;
		font-size: 0;
		line-height: 0;
	}
</style>

</head>
<body>
	<!-- container -->
	<div id="container">
		<div id="content">

			<!-- <div> floating - 메인인 경우</div> -->
			<div id="main-shortCut">
				<div class="sub-main-section layout c30100000">
					<!-- 컨텐츠 작성 -->
					<div class="page-type3">
						<div class="list-title">
							<!-- <h2>
								<p>스페셜 이벤트</p>
							</h2>
							<h3 class="margin-top5">OK 캐쉬백 고객님들께 드리는 특별한 혜택</h3> -->
							<h3><span>${event.subject }</span></h3>
						</div>
																
						<div class="list-date margin-top5">
						
							<a href="/spring-GOP/event/list" class="button h25 w62 white-list"><b>목록</b></a>
							<p class="event-date margin-top10">기간 : ${event.term}</p>
							
						</div>
					
					</div>
					<div class="line-666 margin-top15 margin-bottom30"></div>
					<div class="event-content">
						<div class="event-desc">
							<p></p>
							<div style="overflow: auto; width: 100%; height: 100%;">
								<div class="event_wrap1" style="background-image: url(${event.path}${event.file_name}<%-- <%=path%> --%>);">
									<!--예매 버튼-->
									<div class="btn_pos">
										<a class="button orange border" href="" title="예매하기">예매하기</a>
									</div>
								</div>
							</div>
							<p></p>
						</div>
					</div>

					<div class="line-666 margin-top40 margin-bottom10"></div>
					<a href="/spring-GOP/event/list" class="button h25 w62 white-list " title="이벤트 목록 보기"><b>목록 </b></a>

				</div>
			</div>
		</div>
	</div>
	<!-- container -->
</body>
</html>